package com.base.po.voip;

import java.util.Date;

public class TaskReach {
	private Integer id; // 主键ID

	private String tasklistid; // 外键任务类型

	private String subid; // 用户ID

	private Date createtime; // 领取时间

	private Byte receivestatus; // 领取状态 0-未领取 1-已领取

	private Integer completestatus; // 完成状态 0-未完成 1-已完成 2-已领取
	
	private Integer ctreach; // 总数

	private TaskList taskList; // 每日任务对象

	private String username; // 代理商名称

	private String shopname; // 商家名称

	public TaskReach(String subid) {
		super();
		this.subid = subid;
	}

	public TaskReach() {
		super();
	}

	public TaskReach(Integer id, Byte receivestatus) {
		super();
		this.id = id;
		this.receivestatus = receivestatus;
	}

	public TaskReach(Integer id, Integer completestatus) {
		super();
		this.id = id;
		this.completestatus = completestatus;
	}

	public TaskReach(String tasklistid, String subid, Date createtime, Byte receivestatus, Integer completestatus) {
		super();
		this.tasklistid = tasklistid;
		this.subid = subid;
		this.createtime = createtime;
		this.receivestatus = receivestatus;
		this.completestatus = completestatus;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public Integer getCtreach() {
		return ctreach;
	}

	public void setCtreach(Integer ctreach) {
		this.ctreach = ctreach;
	}

	public TaskList getTaskList() {
		return taskList;
	}

	public void setTaskList(TaskList taskList) {
		this.taskList = taskList;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTasklistid() {
		return tasklistid;
	}

	public void setTasklistid(String tasklistid) {
		this.tasklistid = tasklistid == null ? null : tasklistid.trim();
	}

	public String getSubid() {
		return subid;
	}

	public void setSubid(String subid) {
		this.subid = subid == null ? null : subid.trim();
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Byte getReceivestatus() {
		return receivestatus;
	}

	public void setReceivestatus(Byte receivestatus) {
		this.receivestatus = receivestatus;
	}

	public Integer getCompletestatus() {
		return completestatus;
	}

	public void setCompletestatus(Integer completestatus) {
		this.completestatus = completestatus;
	}
}
